<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<smart>include file ='../head.config.html'</smart>
</head>
<body>
<div id="container"> <smart>include file ='../header.html'</smart> <div id="InfoSelectorTarget">
<smart>include file ='../InfoSelectorTarget.html'</smart></div>
  <div id="RateSummary">
    <h2>个人信息</h2>
    <ul id="UserInfo">
      <li><span>会员名：</span><a href="index.php?userid=<smart> $frame_shop_info.member_id </smart>"><smart> $frame_shop_info.login_name </smart></a> </li>
      <li><span>站 内 信：</span> <a href="../member/own_message.php?action=add&username=<smart>$frame_shop_info.login_name</smart>" target="_blank">发送信件</a> </li>
      <li><span>地址：</span><smart>$frame_shop_info.province</smart><smart>$frame_shop_info.city</smart></li>
	  <li><span>卖家好评率：</span><smart> $sale_percent </smart></li>
	  <li><span>买家好评率：</span><smart> $buy_percent </smart></li>
    </ul>
  </div>
  <div id="">
  <br />
  卖家信用
  <table width="400" border="0">
      <tr>
        <td>&nbsp;</td>
        <td>最近1周</td>
        <td>最近1个月</td>
        <td>最近6个月</td>
        <td>6个月前</td>
        <td>总计</td>
      </tr>
      <tr>
        <td>好评</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=1&time_area=week"><smart> $score_sta_sale_week.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=1&time_area=month"><smart> $score_sta_sale_month.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=1&time_area=halfyear"><smart> $score_sta_sale_halfyear.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=1&time_area=year"><smart> $score_sta_sale_year.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=1"><smart> $score_sta_sale_total.good|default:0 </smart></a></td>
      </tr>
      <tr>
        <td>中评</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=0&time_area=week"><smart> $score_sta_sale_week.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=0&time_area=month"><smart> $score_sta_sale_month.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=0&time_area=halfyear"><smart> $score_sta_sale_halfyear.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=0&time_area=year"><smart> $score_sta_sale_year.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=0"><smart> $score_sta_sale_total.mid|default:0 </smart></a></td>
      </tr>
      <tr>
        <td>差评</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=-1&time_area=week"><smart> $score_sta_sale_week.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=-1&time_area=month"><smart> $score_sta_sale_month.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=-1&time_area=halfyear"><smart> $score_sta_sale_halfyear.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=-1&time_area=year"><smart> $score_sta_sale_year.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&score=-1"><smart> $score_sta_sale_total.bad|default:0 </smart></a></td>
      </tr>
      <tr>
        <td>总计</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&time_area=week"><smart> $score_sta_sale_week.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&time_area=month"><smart> $score_sta_sale_month.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&time_area=halfyear"><smart> $score_sta_sale_halfyear.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s&time_area=year"><smart> $score_sta_sale_year.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=s"><smart> $score_sta_sale_total.total|default:0 </smart></a></td>
      </tr>
    </table>
	<br />
  买家信用
    <table width="400" border="0">
      <tr>
        <td>&nbsp;</td>
        <td>最近1周</td>
        <td>最近1个月</td>
        <td>最近6个月</td>
        <td>6个月前</td>
        <td>总计</td>
      </tr>
      <tr>
        <td>好评</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=1&time_area=week"><smart> $score_sta_buy_week.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=1&time_area=month"><smart> $score_sta_buy_month.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=1&time_area=halfyear"><smart> $score_sta_buy_halfyear.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=1&time_area=year"><smart> $score_sta_buy_year.good|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=1"><smart> $score_sta_buy_total.good|default:0 </smart></a></td>
      </tr>
      <tr>
        <td>中评</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=0&time_area=week"><smart> $score_sta_buy_week.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=0&time_area=month"><smart> $score_sta_buy_month.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=0&time_area=halfyear"><smart> $score_sta_buy_halfyear.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=0&time_area=year"><smart> $score_sta_buy_year.mid|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=0"><smart> $score_sta_buy_total.mid|default:0 </smart></a></td>
      </tr>
      <tr>
        <td>差评</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=-1&time_area=week"><smart> $score_sta_buy_week.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=-1&time_area=month"><smart> $score_sta_buy_month.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=-1&time_area=halfyear"><smart> $score_sta_buy_halfyear.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=-1&time_area=year"><smart> $score_sta_buy_year.bad|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&score=-1"><smart> $score_sta_buy_total.bad|default:0 </smart></a></td>
      </tr>
      <tr>
        <td>总计</td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&time_area=week"><smart> $score_sta_buy_week.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&time_area=month"><smart> $score_sta_buy_month.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&time_area=halfyear"><smart> $score_sta_buy_halfyear.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b&time_area=year"><smart> $score_sta_buy_year.total|default:0 </smart></a></td>
        <td><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=from&genre=b"><smart> $score_sta_buy_total.total|default:0 </smart></a></td>
      </tr>
    </table>
  
  </div>
  <smart>assign  var='InfoSelectorTarget' value = $InfoSelectorTarget2</smart><div id="InfoSelectorTarget">
 <smart>include file ='../InfoSelectorTarget.html'</smart></div>
  <div id="DisplaySettings"><a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=<smart> $smarty.get.type </smart>&genre=<smart> $smarty.get.genre </smart>">所有评价</a>
    <a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=<smart> $smarty.get.type </smart>&genre=<smart> $smarty.get.genre </smart>&time_area=<smart> $smarty.get.time_area </smart>&score=1">所有好评</a>
    <a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=<smart> $smarty.get.type </smart>&genre=<smart> $smarty.get.genre </smart>&time_area=<smart> $smarty.get.time_area </smart>&score=0">所有中评</a>
    <a href="user_rate.php?userid=<smart> $smarty.get.userid </smart>&type=<smart> $smarty.get.type </smart>&genre=<smart> $smarty.get.genre </smart>&time_area=<smart> $smarty.get.time_area </smart>&score=-1">所有差评</a> </div>
    <smart> section name=i loop=$score_array </smart>
	<smart> if $score_array[i].score eq "1" </smart>
	好评
	<smart> /if </smart>
	<smart> if $score_array[i].score eq "0" </smart>
	中评
	<smart> /if </smart>
	<smart> if $score_array[i].score eq "-1" </smart>
	差评
	<smart> /if </smart>
	 [详情] <smart> $score_array[i].content </smart>
	 <smart> $score_array[i].pubtime|date_format:"%Y-%m-%d %H:%M" </smart>
	 <a href="../home/product.php?action=view&pid=<smart> $score_array[i].p_code </smart>" target="_blank"><smart> $score_array[i].p_name </smart></a>
	 <smart> $score_array[i].membersay </smart>：<a href="index.php?userid=<smart> $score_array[i].memberid </smart>" target="_blank"><smart> $score_array[i].member </smart></a>
	 <smart> $score_array[i].unit_price </smart><br />
	<smart> /section </smart>
  <smart>include file ='../footer.html'</smart> </div>
</body>
</html>
